package com.bootdo.hotel.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 房价码对应的每日价格
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-18 17:16:57
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class HotelEveryDayMoney extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//房价码
		@HapiFeild("房价码")
	private Long codeId;
	
	//日期
		@HapiFeild("日期")
	private Date day;
	
	//价格
		@HapiFeild("价格")
	private Double money;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

    public HotelEveryDayMoney(){
    
    	this.createTime = new Date();
    }


	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：房价码
	 */
	public void setCodeId(Long codeId) {
		this.codeId = codeId;
	}
	/**
	 * 获取：房价码
	 */
	public Long getCodeId() {
		return codeId;
	}
	/**
	 * 设置：日期
	 */
	public void setDay(Date day) {
		this.day = day;
	}
	/**
	 * 获取：日期
	 */
	public Date getDay() {
		return day;
	}
	/**
	 * 设置：价格
	 */
	public void setMoney(Double money) {
		this.money = money;
	}
	/**
	 * 获取：价格
	 */
	public Double getMoney() {
		return money;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
